package com.mingqijia.gassafety.webserver.request;


import cn.hutool.json.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "导出任务创建入参")
@Data
public class FileExportCreateRequest {

    @NotBlank(message = "数据表种类代号不能为空")
    @ApiModelProperty(value = "导出数据code,客户信息:EXPORT0001; 实时监控:EXPORT0002;报警记录: EXPORT0003; " +
            " 故障记录: EXPORT0004; 设备列表: EXPORT0005; 账号列表: EXPORT0006;企业列表:EXPORT0007; 报警记录-杭州定制: EXPORT0008")
    private String exportCode;

    @ApiModelProperty(value = "导出查询条件,json格式")
    private JSONObject queryBody;

}
